﻿package ywpt.web.common;
import java.util.LinkedHashMap;
import java.util.Map;
@SuppressWarnings("unchecked")
public class CommonDictionary {
	@SuppressWarnings("unchecked")
	public static Map	GENDER;
	@SuppressWarnings("unchecked")
	public static Map	STATE;
	@SuppressWarnings("unchecked")
	public static Map	BILLED;
	@SuppressWarnings("unchecked")
	public static Map	PAYMETHOD;
	@SuppressWarnings("unchecked")
	public static Map	BILLSTATE;

	@SuppressWarnings("unchecked")
	public static Map	headWord;//前缀
	static {
		GENDER = new LinkedHashMap();
		GENDER.put("3", "不详");
		GENDER.put("1", "男");
		GENDER.put("2", "女");
		
		STATE=new LinkedHashMap();
		STATE.put("1", "正常");
		STATE.put("0", "取消");
		
		BILLED=new LinkedHashMap();
		STATE.put("true", "已开票");
		STATE.put("false", "未开票");
		
		PAYMETHOD=new LinkedHashMap();
		PAYMETHOD.put("01", "银行转帐");
		PAYMETHOD.put("02", "现金");
		PAYMETHOD.put("03", "银行代收");
		PAYMETHOD.put("04", "POS机刷卡");
		
		BILLSTATE=new LinkedHashMap();
		BILLSTATE.put("0", "领用");
		BILLSTATE.put("1", "占用");
		BILLSTATE.put("2", "打印");
		BILLSTATE.put("3", "汇缴");
		BILLSTATE.put("4", "作废");
		BILLSTATE.put("5", "核销");
		
		headWord=new LinkedHashMap();
		
		headWord.put("0", "NC");//通知书
		headWord.put("1", "AB");//统一票据
		headWord.put("2", "CC");//通用票据
		headWord.put("3", "AY");//往来票据
		headWord.put("4", "CH");//有偿票据
		headWord.put("5", "HJ");//汇缴
		headWord.put("6", "IS");//领用
		
	}
}
